package sample.spring.autowire;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created on 2020/7/17
 */
public class AutowireSample {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:autowire/autowire.xml");
		School s2 = (School) context.getBean("s2");
		return;
	}
}
